package com.situ.shoplook.common.mapper;

import com.situ.shoplook.common.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86198
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-08-30 09:19:10
* @Entity com.situ.shoplook.common.model.User
*/
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByLoginName(String loginName);

    int deleteByIds(@Param("ids") Integer[] ids);

    List<User> search(User user);
}
